export function getCreationLists(params?: any) {
    return $request.get({
        url: '/ai/creation',
        params
    })
}
export function getCreationDetail(params: any) {
    return $request.get({ url: '/ai/creation/detail', params })
}

export function getCreationCategory(params?: any) {
    return $request.get({ url: '/ai/creationCategory', params })
}

export function getCreationListsByCategory(params?: any) {
    return $request.get({ url: '/ai/creationModel', params })
}

//收藏
export function creationCollection(params?: any) {
    return $request.post({ url: '/ai/creation/addCollect', params })
}

//取消收藏
export function creationCancelCollection(params?: any) {
    return $request.post({ url: '/ai/creation/cancelCollect', params })
}



//数字助手列表
export function getAIMyModel(params?: any) {
    return $request.get({ url: '/ai/myModel', params })
}

//数字助手新增
export function addAIMyModel(params?: any) {
    return $request.post({ url: '/ai/add', params })
}
//数字助手详情
export function getAIMyModelDetail(params?: any) {
    return $request.get({ url: '/ai/detail', params })
}
//数字助手编辑
export function editAIMyModel(params?: any) {
    return $request.post({ url: '/ai/edit', params })
}
//数字助手删除
export function deleteAIMyModel(params?: any) {
    return $request.post({ url: '/ai/delete', params })
}